<template>
    <div id="common-tab">
<van-tabbar route active-color="#28b2f9" inactive-color="#444">
  <van-tabbar-item to="/home" icon="shouye" icon-prefix="icon">首页</van-tabbar-item>
  <van-tabbar-item to="/cate" icon="fenlei" icon-prefix="icon">分类找药</van-tabbar-item>
  <van-tabbar-item to="/cart" :badge="$store.state.cart.items.length||''" icon="qingdan2x" icon-prefix="icon">需求清单</van-tabbar-item>
  <van-tabbar-item to="/user" icon="wode" icon-prefix="icon">我的</van-tabbar-item>
</van-tabbar>
    </div>
</template>
<style lang="scss" scoped>
#common-tab{
/deep/.icon{
    font-size: 28px;
}
}
</style>
